package com.longchat.domain.upload;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the T_UPLOAD_TIANMAO database table.
 * 
 */
@Entity
@Table(name="T_UPLOAD_TIANMAO")
@NamedQuery(name="UploadTianmao.findAll", query="SELECT u FROM UploadTianmao u")
public class UploadTianmao implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="T_UploadTianmao_ID_GENERATOR" )
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="T_UploadTianmao_ID_GENERATOR")
	@Column(unique=true, nullable=false, precision=22)
	private long id;
	
	@Column(length=100)
	private String account;

	@Column(name="ACCOUNT_FLOW_ID", length=300)
	private String accountFlowId;

	@Column(length=30)
	private String amount;

	@Temporal(TemporalType.DATE)
	@Column(name="CREATE_TIME")
	private Date createTime;

	@Column(name="EXPEND_AMOUNT", length=30)
	private String expendAmount;

	@Column(name="FLOW_ID", length=50)
	private String flowId;

	@Column(name="INCOME_AMOUNT", length=30)
	private String incomeAmount;

	@Column(length=20)
	private String name;

	@Column(name="OCCUR_TIME", length=20)
	private String occurTime;

	@Column(name="ORDER_ID", length=100)
	private String orderId;

	@Column(length=200)
	private String remark;

	@Column(name="STORE_NAME", length=200)
	private String storeName;

	@Column(name="TRADE_CHANNEL", length=20)
	private String tradeChannel;

	@Column(name="TRADE_TYPE", length=20)
	private String tradeType;

	@Column(name="USER_ID", precision=22)
	private BigDecimal userId;

	public UploadTianmao() {
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getAccountFlowId() {
		return this.accountFlowId;
	}

	public void setAccountFlowId(String accountFlowId) {
		this.accountFlowId = accountFlowId;
	}

	public String getAmount() {
		return this.amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getExpendAmount() {
		return this.expendAmount;
	}

	public void setExpendAmount(String expendAmount) {
		this.expendAmount = expendAmount;
	}

	public String getFlowId() {
		return this.flowId;
	}

	public void setFlowId(String flowId) {
		this.flowId = flowId;
	}

	public String getIncomeAmount() {
		return this.incomeAmount;
	}

	public void setIncomeAmount(String incomeAmount) {
		this.incomeAmount = incomeAmount;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOccurTime() {
		return this.occurTime;
	}

	public void setOccurTime(String occurTime) {
		this.occurTime = occurTime;
	}

	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getStoreName() {
		return this.storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getTradeChannel() {
		return this.tradeChannel;
	}

	public void setTradeChannel(String tradeChannel) {
		this.tradeChannel = tradeChannel;
	}

	public String getTradeType() {
		return this.tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}

	public BigDecimal getUserId() {
		return this.userId;
	}

	public void setUserId(BigDecimal userId) {
		this.userId = userId;
	}

}